package com.example.cslp.service;


import com.example.cslp.pojo.entity.Course;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public interface CourseServiceByYh {
    //创建课程
    Boolean createCourse(Course course);
    //查询所有课程
    List<Course> findAllCourse();
    //编辑已有课程
    Boolean editCourse(Course course);
    //删除课程
    Boolean deleteCourse(String courseId);
    //审核资料
    Boolean examMaterial(Course course);
    //根据课程id查询课程
    Course getCourseById(String courseId);

}
